<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%><html>
<head>
<link rel="stylesheet" href="/css/table_sorter.css" type="text/css" id="" media="print, projection, screen" />
<script type="text/javascript" charset="UTF-8" src="/js/jquery.tablesorter.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.metadata.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.tablesorter.pager.js"></script>
<script language="javascript">
$().ready(function(){
	$("#m_mybonus").css("font-weight","bold");
	doAR('<%=ServerValue.getFrontContextPath()%>/member/myBonus/accumulatebonus.do?AJAX=true&refreshZone=tabs-1','tabs-1');
});
</script>
</head>
<body>
  <div class="content">
	<h2>我的积分</h2>
    <!-- 點數狀況 -->
	<div class="my-point">
		<span><strong>目前可用积分：</strong><br /><b>${canUse}</b>积分</span>
	</div>
	<div class="my-point">
		<span><strong>待生效积分：</strong><br /><b>${waitUse}</b>积分</span>
	</div>
	<div class="my-point-timesup">
		<span><strong>最近即将到期的积分：</strong><%if(request.getAttribute("nearlyD")!=""){ %><br /><i>${nearlyD}</i>即将到期<b>${nearlyP}</b>积分<%}else{ %>无<%} %></span>
	</div>
        
    <!-- 明細 -->
    <div id="mypoint_tab" class="mb-show">
      <ul class="mb-tab">
        <li id="acc_li" class="mb-tab-f"><a href="#tabs-1" onclick="doAR('<%=ServerValue.getFrontContextPath()%>/member/myBonus/accumulatebonus.do?AJAX=true&refreshZone=tabs-1','tabs-1')">获得明细</a></li>
        <li id="use_li"><a href="#tabs-1" onclick="doAR('<%=ServerValue.getFrontContextPath()%>/member/myBonus/tousebonus.do?AJAX=true&refreshZone=tabs-1','tabs-1')">使用明细</a></li>
      </ul>
      <div class="a-function"><a href="/help/3_coin.html" target="_blank">积分说明</a></div>
      <div id="tabs-1"></div>
    </div>
    <!-- 明細 -->
  </div>
</body>
</html>